'use strict'


import request from '@/utils/request'

export function list(parameter) {
  return request({
    url: '/SiteAppointment/GetPageData',
    method: 'get',
    params: parameter
  })
}

// GET /api/SiteAppointment/InitEntity?id=0 HTTP/1.1

export function SiteAppointmentInitEntity(parameter){
  return request({
    url: '/SiteAppointment/InitEntity',
    method: 'get',
    params: parameter
  })
}

export function GetDetail(parameter){
  return request({
    url: '/SiteAppointment/GetDetail',
    method: 'get',
    params: parameter
  })
}

// GET /api/SiteAppointment/Abolish/%7Bid%7D?id=293 HTTP/1.1
export function Abolish(parameter) {
  return request({
      url: '/SiteAppointment/Abolish',
      method: 'get',
      params: parameter
  })
}


export function addSubmit(data) {
  return request({
    url: `/SiteAppointment/Edit`,
    method: 'post',
    data
  })
}

export function ProjectEntrustedOnlineDocGetPageData(parameter){
    return request({
        url: '/ProjectEntrustedOnlineDoc/GetPageData',
        method: 'get',
        params: parameter
      })
}

















